h1 {
    position: sticky;
    top: 0;
    left: 0;
    height: 50px;
    background-color: #fff;
    color: orange;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
}

p {
    height: 30px;
    margin: 10px;
    color: green;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
}

.img {
    height: auto;
}

p:first-child {
    margin: 0;
}